import request from '@/utils/request'

// 查询用户扩展属性列表
export function listExp(query) {
  return request({
    url: '/center/exp/list',
    method: 'get',
    params: query
  })
}

// 查询用户扩展属性详细
export function getExp(mbExpId) {
  return request({
    url: '/center/exp/' + mbExpId,
    method: 'get'
  })
}

// 新增用户扩展属性
export function addExp(data) {
  return request({
    url: '/center/exp',
    method: 'post',
    data: data
  })
}

// 修改用户扩展属性
export function updateExp(data) {
  return request({
    url: '/center/exp',
    method: 'put',
    data: data
  })
}

// 删除用户扩展属性
export function delExp(mbExpId) {
  return request({
    url: '/center/exp/' + mbExpId,
    method: 'delete'
  })
}
